Silicon Labs /EFR32MG24A010F1024IM48 /KEYSCAN_S /CFG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CFG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0CLKDIV0 (MULTIPRESS)SINGLEPRESS 0 (AUTOSTARTDIS)AUTOSTART 0 (RSV1)NUMROWS 0NUMCOLS

AUTOSTART=AUTOSTARTDIS, SINGLEPRESS=MULTIPRESS, NUMROWS=RSV1

Description

Config

Fields

CLKDIV

Clock Divider

SINGLEPRESS

Single Press

0 (MULTIPRESS): After KEYIF is set and then cleared, scanning will continue. This can give multiple interrupts for the same key press, but allow multiple key presses to be detected. To use this mode for multi-key detection, the ISR should update a section of memory of COLNUM bytes on each interrupt, until key release is detected. After key release, the section of memory where key presses are recorded can be processed.

1 (SINGLEPRESS): After KEYIF has been set and cleared, it will not set again until no key press is detected. This allows faster response since the ISR can start processing data as soon as the KEYIF is set.

AUTOSTART

Automatically Start

0 (AUTOSTARTDIS): Auto start is disabled

1 (AUTOSTARTEN): Auto start is enabled

NUMROWS

Number of Rows

0 (RSV1): 1 Row is not supported; defaults to 3 instead

1 (RSV2): 2 Rows are not supported; defaults to 3 instead

2 (ROW3): 3 Rows

3 (ROW4): 4 Rows

4 (ROW5): 5 Rows

5 (ROW6): 6 Rows

NUMCOLS

Number of Columns

Links

()